home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-03
/
qpakwin.zip
/
INSTALL.EXE
/
QP4WIN.BRO
< prev
next >
Wrap
Text File
|
1991-12-02
|
14KB
|
314 lines
Introducing QuickPak Professional for Windows
QuickPak Professional for Windows is the most complete collection of
subroutines, functions, and custom controls for Visual Basic ever produced.
It includes more than 400 services that help you improve the quality of your
programs and complete them faster. All of the low-level routines are written
in assembly language for the fastest speed and smallest code size possible.
The remainder are high-level services written in Visual Basic and C.
LOW-LEVEL ROUTINES FOR HIGH-LEVEL PERFORMANCE
Because Visual Basic creates programs that are interpreted at runtime,
assembly language routines are essential for attaining acceptable speed in
many programming situations. We provide routines for searching and sorting
all data types including floating point and Currency arrays. A special
multi-key recursive Type sort lets you sort on any number of keys--both in
memory and on disk.
Other important low-level assembler routines include loading and saving
entire arrays in one operation, simplified access to the Windows API
services, direct access to hardware ports, extremely fast date and time
arithmetic, and much more.
Two unique routines--CreateHK and KillHK--let you set up hot keys and
intercept all keyboard events before they are passed on to your program or
other Windows applications. With these routines you can pop up a Visual
Basic program on a hot key, or examine keyboard events that are destined for
OTHER Windows programs that are currently running.
All of the low-level routines are very easy to use--we use sensible names and
a simple, intuitive calling syntax. You do not have to know anything about
assembly language to use QuickPak Professional for Windows. Simply specify
the supplied DLL library in your Declare statements, and we do the rest!
QuickPak Professional for Windows includes ALL of the source code--in
assembler, Basic, and C--so you can see how the routines really work, and
even learn from them.
DON'T REINVENT THE WHEEL
Many high-level subroutines and functions are provided, including Basic
equivalents of every financial and statistical function in Lotus 1-2-3.
High-level file services include file searching and encryption, and copying
multiple files based on wild card specifications. A full-featured expression
evaluator accepts formulas even with nested parentheses, and computes the
result. There's even a pop-up ASCII chart you can add to your programs.
Also included are contouring routines for creating an attractive sculpted
look on your Visual Basic forms. In addition, special enhanced dialog boxes
are supplied for:
- File Open
- File Save
- Selecting Colors
- Selecting Dates
All of the high-level routines are easily loaded as modules. Then you simply
call the routines as needed.
SPECTACULAR DEMONSTRATION PROGRAMS
Numerous demonstration programs are provided that show many of the routines
in context, and also serve as excellent examples of professional programming
using Visual Basic.
Many of the demonstration programs are complete applications in their own
right. For example, the ReadDirs program shows how to search all directory
levels for a given file or group of files. The SysInfo demo is a complete
utility program that reports all of the system resources such as installed
memory, CPU type, number and type of disk drives, and so forth. The file
encryption demonstration accepts a file name and password, and actually
encrypts the file. A Norton-style sector reading program lets you view the
contents of any disk sector in both ASCII and Hex simultaneously.
ROUTINES BY CATEGORY
The section that follows lists many of the features in QuickPak Professional
for Windows by category. We don't have room to describe every routine in
detail; however, each category header lists the highlights, and describes
those routines that have proven most popular in the QuickBASIC version of
QuickPak Professional.
■ Custom Controls
QuickPak Professional for Windows includes many custom controls that provide
a variety of useful services. These include edit controls, enhanced list
boxes, enhanced scroll bars, and a continuous timer control. The major
features of each are listed following.
Input controls with data-specific editing for the following data types:
- Currency
- Dates
- Floating point numbers
- Integers
- General text with data masks
- Times
When editing date and time fields the values are returned as numeric values
ready to be processed by the QuickPak date and time manipulation routines.
The actual edited text is optionally available as well. Currency, date,
numeric, and time fields are formatted automatically based on the
international settings in the user's WIN.INI file
Masked data entry with the ability to specify the type and position of
characters that may be entered or are skipped over. This makes it simple to
design custom input routines for special formats such as social security
numbers.
Field length may be optionally limited, whereby you specify the maximum
number of characters that may be entered. This is ideal when accepting data
that will be stored in a random access file. Full control is provided over
all data validation properties including range checking, and input may be set
to either insert or overstrike mode.
Other important text input routine features include the following:
- Text justification when the control does not have the focus
- Character lookup tables where you can specify acceptable
characters for data entry
- Password entry where all typed characters are echoed to the
screen using a single selectable character
- Special border effects such as Pop, Drop, and Shadow
An enhanced List Box control provides these features:
- Multiple snaking column lists
- Selecting multiple items from a single list
- Fast searching of list data
- Automatic case conversion
- Settable tab stop locations
- Displays lists of drive, directory and/or file names
- Optional horizontal scroll bar
- Clear the entire list by setting one property
- Sizable/movable list window
Enhanced Scroll Bars feature a custom Changing event that is invoked whenever
the user moves the scroll location, and not just when a button is let go.
The timer control features a continuous display of the time of day, with an
adjustable time zone offset and settable alarm time and events.
■ Array Processing
Sort routines are provided to sort any type of array including string and
floating point in either ascending or descending order. A Type array sort
lets you sort elements based on any component in the Type, regardless of the
data type. Indexed versions of these routines are also provided so you can
access your arrays in both the original and sorted order simultaneously. A
multi-key Type array sort accommodates any number of keys including mixed
data types, sorted independently ascending or descending.
Complementing the array sorts is an additional family of routines for
searching every data type. The Type array search can examine all of the
array elements but consider only one component in the comparisons. When
searching string arrays or the string portion of a Type array, searching can
either honor or ignore capitalization.
Routines are also included to quickly determine the minimum and maximum
values in numeric arrays, the element numbers where these values appear, and
the number of active (non-blank) elements in a string array.
Additional subroutines let you initialize arrays with fixed or ascending
values, and perform simple matrix operations such as adding and subtracting a
constant value from each element. You can also insert and delete elements,
and even create bit arrays to hold many true/false values in as little memory
as possible.
■ DOS Services
A complete set of file access routines is included that use a sensible system
of error codes, to avoid Basic's clumsy On Error and Resume. You can also
test if a given drive is ready for reading or writing directly.
The file and directory name services let you quickly load an entire string or
Type array with the names of all files or directories that match a given wild
card specification. Full information about each file is optionally returned,
including its date, time, size, and attributes. You can even change file
attributes to mark them as read-only or hidden.
Retrieve full information for any floppy or hard disk, such as its type,
size, available space, and sector and cluster size. The unique ClipFile
routine lets you change a file's size, making it either longer or shorter.
A special message function is also included that returns the appropriate text
for any Basic error. By storing the message text in the code segment, no
data memory is taken from your programs.
The ExeName function reports the full name of your own program, including the
drive and path. This lets you easily find configuration files, even when
your program was started from a different directory or found through the PATH
setting.
FStamp lets you change the date and time stamp of any file, and NameDir will
rename a directory--something that DOS normally does not allow! GetVol and
PutVol let you read and write a disk's volume label, and DOSVer reports the
DOS version number. ReadSect and WriteSect read and write disk sectors
directly.
■ Date and Time routines
A full complement of date and time routines are included, to compute time and
date differences. The date routines are extremely fast, and require less
variable memory than those built into Visual Basic.
■ Keyboard routines
A complete set of functions lets you quickly determine or set the status of
all keys including Alt, Ctrl, Shift, CapsLock, NumLock, and ScrollLock.
■ Financial/Scientific Routines
A full complement of financial and scientific functions is provided,
including Basic equivalents of EVERY function in Lotus 1-2-3.
■ Strings
A wealth of string manipulation routines are included. There are InStr
replacements that allow wild cards, honor or ignore capitalization, look for
characters that match those in a table, and even search backwards through a
string. A sophisticated parsing function lets you easily split strings such
as the DOS PATH into their component parts. ParseString is much more
powerful than Read and Data, and more than overcomes their omission from
Visual Basic.
String encryption routines let you quickly secure data and passwords, using
any other string as a key. A unique Sequence routine advances digits and
letters for controlling serial numbers and product codes. Special UCASE$ and
LCASE$ replacements let our European friends handle the unique capitalization
needs of their languages.
Conversion routines translate between Hex, Binary, and Decimal numbers. The
Soundex function lets you compare strings and names based on how they sound.
■ Miscellaneous
Many hardware services are also included to let you determine the CPU type,
coprocessor, number and type of drives and if they are on a network server,
printer status, monitor type, installed serial and parallel ports, and more.
Memory services report on Windows virtual memory and EMS/XMS memory.
Windows-specific routines return the version number and operating mode, free
resources, and the Windows and System directories.
Other miscellaneous routines let you manipulate unsigned integers, shift
bits, copy blocks of memory, and compare entire Type variables in one
operation.
Although Visual Basic doesn't support BASIC's CALL INTERRUPT, QuickPak
Professional sure does! With DosCall you can easily access all of the
low-level DOS system services.
Other important Visual Basic omissions are also provided including the
Cvi/Cvd and Mki$/Mkd$ and Mbf equivalent family of functions; Peek and Poke;
Inp and Out; and VarSeg, VarPtr, and SAdd. Other VB oversights we include
are Sound and Play, Swap, and Fre. Because these are no longer reserved
words, we use the original names so you don't even have to change your code!
■ Windows-Specific Services
Easily determine if a particular Windows program is running, and get window
handles for the whole system, one application, or even a control. Although
Visual Basic lets you know the handle for your forms, there's no direct way
to get a control's handle which is needed when calling Windows API routines.
There are also functions to determine the ratio of Pixels to Twips and vice
versa, and a special function that returns a pointer to a Visual Basic HLL
string. The SplitColor subroutine splits the Windows long integer color into
its component Red, Green, and Blue values.
GET UP TO SPEED--FAST!
Programmers that already own QuickPak Professional for QuickBASIC or BASIC 7
PDS will be pleased to know that we use the identical calling syntax for the
Windows version. This greatly simplifies converting existing applications to
the new and exciting Windows environment. If you are not already a Crescent
customer, you are sure to be thrilled--our products have received glowing
reviews in all of the popular programming magazines.
Crescent Software, Inc.
32 Seventy Acres
West Redding, CT 06896
Orders only: 800-35-BASIC
Information: 203-438-5300
FAX: 203-431-4626
Support BBS: 203-426-5958